﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="wucListCart.ascx.cs" Inherits="Modules_HugKid_wucListCart" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<div class="rightpage">  
    <div style="margin-bottom: 10px;"><img src="App_Themes/HugKidTheme/images2/bannerPro.jpg"></div>    
    <div class="pro-special">
        <h2 style="color:#C90F00;">Các sản phẩm trong giỏ hàng</asp:Label></h2>
        <asp:Label runat="server" ID="lblEmptyText" Text=""></asp:Label>                        
        <asp:DataList ID="dlListCart" runat="server" RepeatColumns="1">
            <ItemTemplate>
                <td class="itempro" valign="top" style="padding-bottom:15px;">
                    <a href="Default.aspx?Page=ProductDetails&ProductId=<%# Eval("ItemID") %>"><img src="<%# Eval("Image") %>" style="width:144px; height:144px; overflow:hidden;" /></a>
                    <p><a href="Default.aspx?Page=ProductDetails&ProductId=<%# Eval("ItemID") %>" style="color:#000000;">
                    <%# ((Eval("ItemName").ToString().Length > 17) ? Eval("ItemName").ToString().Substring(0, 17) + " ..." : Eval("ItemName")) %></a></p>
                    <p class="price"><%# Eval("Atribute1") %></p>
                </td>
                <td style="width:100%;">
                    <a href="javascript: void(0)" onclick="RemoveCookie(<%#Eval("ItemID") %>)">DELETE</a>
                </td>                        
            </ItemTemplate>
        </asp:DataList>                             
    </div>
</div>
